﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MidiSynthLib
{
    /// <summary>
    /// An object which represents a Midi Note
    /// </summary>
    internal class MidiNote
    {
        private int note;
        private int velocity;

        /// <summary>
        /// Initializes a new instance of the <see cref="MidiNote"/> class.
        /// </summary>
        /// <param name="note">The note.</param>
        /// <param name="velocity">The velocity.</param>
        internal MidiNote(int note, int velocity)
        {
            this.note = note;
            this.velocity = velocity;
        }

        /// <summary>
        /// Gets or sets the note.
        /// </summary>
        /// <value>The note.</value>
        internal int Note
        {
            get { return note; }
        }

        /// <summary>
        /// Gets or sets the velocity.
        /// </summary>
        /// <value>The velocity.</value>
        internal int Velocity
        {
            get { return velocity; }
        }
    }
}
